package com.smart.campus.school.service;

import java.util.List;
import com.smart.campus.school.domain.WrongQuestion;

/**
 * 错题记录Service接口
 * 
 * @author Zhihe.Li
 * @date 2020-05-25
 */
public interface IWrongQuestionService 
{
    /**
     * 查询错题记录
     * 
     * @param id 错题记录ID
     * @return 错题记录
     */
    public WrongQuestion selectWrongQuestionById(Long id);

    /**
     * 查询错题记录列表
     * 
     * @param wrongQuestion 错题记录
     * @return 错题记录集合
     */
    public List<WrongQuestion> selectWrongQuestionList(WrongQuestion wrongQuestion);

    /**
     * 新增错题记录
     * 
     * @param wrongQuestion 错题记录
     * @return 结果
     */
    public int insertWrongQuestion(WrongQuestion wrongQuestion);

    /**
     * 修改错题记录
     * 
     * @param wrongQuestion 错题记录
     * @return 结果
     */
    public int updateWrongQuestion(WrongQuestion wrongQuestion);

    /**
     * 批量删除错题记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWrongQuestionByIds(String ids);

    /**
     * 删除错题记录信息
     * 
     * @param id 错题记录ID
     * @return 结果
     */
    public int deleteWrongQuestionById(Long id);
}
